package com.itheima.demo02;

public class Girlfriend implements ICode,IGame{
    @Override
    public void code() {
        System.out.println("编写Java程序");
    }

    @Override
    public void play() {
        System.out.println("玩魔兽");
    }

    @Override
    public void eat(){
        System.out.println("女朋友重写的接口默认方法");
    }
}
